home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3141 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  557 b 

  1. Path: cais.cais.com!usaid
  2. From: usaid@cais.cais.com (USAID)
  3. Newsgroups: comp.lang.c
  4. Subject: Accessing UNIX environment variables with C
  5. Date: 26 Jan 1996 15:10:29 GMT
  6. Organization: Capital Area Internet Service info@cais.com 703-448-4470
  7. Message-ID: <4eaqt5$f23@zippy.cais.net>
  8. NNTP-Posting-Host: cais.com
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. Can someone tell me how to use a UNIX environment variable in C?  The 
  12. equivalent statement in Perl is the %ENV{VARNAME} statement, where 
  13. VARNAME is the environment variable.
  14.  
  15. Thanks for your help.
  16.  
  17. Jed Prentice
  18.